home *** CD-ROM | disk | FTP | other *** search
/ Merciful 2 / Merciful - Disc 2.iso / software / h / highspeedpascalv2.0a.dms / highspeedpascalv2.0a.adf / S / SPat < prev    next >
AmigaDOS Script File  |  1991-07-16  |  243b  |  13 lines

  1. .key com/a,pat/a,opt1,opt2,opt3,opt4
  2. .bra {
  3. .ket }
  4. failat 21
  5. list >t:q{$$} {pat} lformat="{com} *"%s%s*" {opt1} {opt2} {opt3} {opt4}"
  6. IF NOT FAIL
  7. execute t:q{$$}
  8. ELSE
  9. echo "{pat} not found"
  10. ENDIF
  11. failat 10
  12. ;do wildcards for single arg command
  13.